package com.yl.pattern.creatormodel.prototype.demo1;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 3:51
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) throws CloneNotSupportedException {
        Realizetype r1 = new Realizetype();
        Realizetype r2 = r1.clone();

        System.out.println("对象r1和r2是同一个对象？" + (r1 == r2));
    }
}
